From: Rosen Penev Date: Thu, 22 Jul 2021 00:36:17 +0000 (-0700) Subject: gsmlib: set C++ standard to 11 X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22http:/www.crowdsec.net/%22/%22https:/collectd.org/%22http:/www.crowdsec.net/%22?a=commitdiff_plain;h=04ee9bc5288466b6ea633cfb5601fc2ff9139b71;p=feed%2Ftelephony.git gsmlib: set C++ standard to 11 throw() was removed in C++17, which GCC11 defaults to. Signed-off-by: Rosen Penev --- diff --git a/libs/gsmlib/Makefile b/libs/gsmlib/Makefile index 53ae116..7dae960 100644 --- a/libs/gsmlib/Makefile +++ b/libs/gsmlib/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=gsmlib PKG_VERSION:=1.10-20140304 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://github.com/vbouchaud/gsmlib.git @@ -62,6 +62,8 @@ define Package/gsm-utils/description Some simple command line programs to access GSM mobile phones via GSM modems. endef +TARGET_CXXFLAGS += -std=c++11 + define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include/$(PKG_NAME) $(INSTALL_DATA) \